package org.lee.common.core.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Map;

/**
 * 基础实体
 *
 * @author ltb
 */
@Data
public class BaseModel implements Serializable {

    private String createBy;

    private String updateBy;

    private LocalDate createTime;

    private LocalDate updateTime;

    private String remark;

    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private transient Map<String, Object> params;
}
